package com.tuweiya.study.java8lambda001.thread;

/**
 * @Author: Mr_tu
 * @Date: Create in 18:27 2018/6/5 0005
 * @Description: 多线程 Thread 类的使用
 */
public class MyThread extends Thread {
    private int i;

    @Override
    public void run() {
        for (; i < 10; i++) {
            System.out.println("线程：" + getName() + "\t" + i);
        }
    }
}
